using System;
using System.Collections.Generic;
using System.Text;

namespace puyan_blogger {
    class UserInfo {
        private string username = "";
        private string password = "";
        private string fullname = "";
        private string emailAddress = "";

        private UserInfo() { }

        public UserInfo(string username, string password) {
            this.username = username;
            this.password = password;
        }

        public string Username {
            get {
                return this.username;
            }
        }

        public string Password {
            get {
                return this.password;
            }
        }

        public string EmailAddress {
            get {
                return this.emailAddress;
            }

            set {
                if (value != null) {
                    this.emailAddress = value;
                }
            }
        }

        public string Fullname {
            get {
                return this.fullname;
            }

            set {
                if (value != null) {
                    this.fullname = value;
                }
            }
        }
    }
}
